
export const getFormEditorSchema = (schemaCode?:string,schemaName?:string|null) => {

  return{
    "componentName": "Page",
    "id": "node_dockcviv8fo1",
    "props": {},
    "docId": "docm1bl8jru",
    "fileName": "/",
    "dataSource": {
      "list": []
    },
    "state": {},
    "css": ".lce-page{width: 100%; height: 100%;}",
    "lifeCycles": {
      "componentDidMount": {
        "type": "JSFunction",
        "value": "function componentDidMount() {\n  console.log('did mount');\n}"
      },
      "componentWillUnmount": {
        "type": "JSFunction",
        "value": "function componentWillUnmount() {\n  console.log('will unmount');\n}"
      }
    },
    "methods": {},
    "originCode": "class LowcodeComponent extends Component {\n  state = {\n  }\n  componentDidMount() {\n    console.log('did mount');\n  }\n  componentWillUnmount() {\n    console.log('will unmount');\n  }\n  \n}",
    "hidden": false,
    "title": "",
    "isLocked": false,
    "condition": true,
    "conditionGroup": "",
    "children": [
      {
        "componentName": "FormContain",
        "id": "node_oclvhup1f41",
        "props": {
          "field": "",
          "gutter": 8,
          "schemaName": schemaName,
          "schemaCode": schemaCode
        },
        "docId": "docm1bl8jru",
        "hidden": false,
        "title": "",
        "isLocked": false,
        "condition": true,
        "conditionGroup": "",
        "children": [
        ]
      }
    ]
  }
}

